package com.gree.elasticsearch.listener;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.ApplicationEvent;
import org.springframework.context.ApplicationListener;

/**
 * 总有刁民想害朕，请叫我小花狗
 * create by zxw on 2020/4/29
 */
public class LocalApplicationListener implements ApplicationListener {
    private Logger log = LoggerFactory.getLogger(LocalApplicationListener.class.getName());

    @Override
    public void onApplicationEvent(ApplicationEvent applicationEvent) {
        log.debug("local application listener subscribe applicationEvent {}", applicationEvent);
    }
}
